package cn.smxy.user;

import cn.smxy.client.CollegeClient;
import cn.smxy.client.CommentClient;
import cn.smxy.client.PlantClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients(clients = {CollegeClient.class, CommentClient.class, PlantClient.class})
@MapperScan(basePackages = "cn.smxy.user.mapper")
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
